/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const componentsRouter = {
  path: '/payment',
  component: Layout,
  redirect: 'noRedirect',
  name: 'payment',
  meta: {
    title: '国库支付管理',
    icon: 'component'
  },
  children: [
    {
      path: 'typein',
      component: () => import('@/views/payment/typein'),
      name: 'paymenttypein',
      meta: { title: '授权支付申请录入' }
    },
    {
      path: 'check',
      component: () => import('@/views/payment/check'),
      name: 'paymentcheck',
      meta: { title: '授权支付申请审核' }
    },
    // {
    //   path: 'drag-select',
    //   component: () => import('@/views/components-demo/drag-select'),
    //   name: 'DragSelectDemo',
    //   meta: { title: '选择' }
    // },
    // {
    //   path: 'dnd-list',
    //   component: () => import('@/views/components-demo/dnd-list'),
    //   name: 'DndListDemo',
    //   meta: { title: '列表' }
    // },
    // {
    //   path: 'drag-kanban',
    //   component: () => import('@/views/components-demo/drag-kanban'),
    //   name: 'DragKanbanDemo',
    //   meta: { title: '看板' }
    // }
  ]
}

export default componentsRouter
